/* 
 * Since 2008 - 2012
 */
package com.hh.bss.project.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.project.dao.*;
import com.hh.bss.project.entity.*;
import com.hh.bss.project.service.*;
import com.hh.bss.project.vo.query.*;
import com.hh.bss.util.*;





public class SearchProjectCcListQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** 电话时间,默认系统时间 */
	private java.util.Date callDtBegin;
	private java.util.Date callDtEnd;
	/** 员工帐号 */
	private java.lang.String account;
	/** 呼叫对象 */
	private java.lang.String caller;
	/** 呼叫的号码 */
	private java.lang.String callno;
	/** -3：号码不存在 -2：忙音 -1：无接听 0：无价值通话 1：有效通话 */
	private Integer callStatus;
	/** -1：无效CC 0：无简历 1：有简历(即从简历库选择的cv_id) */
	private Integer ccResult;
	/** 如果cc_result in(0,1)关联简历id（可能是利用cc建立的临时简历)，则保存简历id */
	private java.lang.Integer refCvid;
	/** 联系记录 */
	private java.lang.String comment;
	/** creator */
	private java.lang.String creator;
	/** createDt */
	private java.util.Date createDtBegin;
	private java.util.Date createDtEnd;
	/** modifier */
	private java.lang.String modifier;
	/** modifiedDt */
	private java.util.Date modifiedDtBegin;
	private java.util.Date modifiedDtEnd;
	private String cvName;
	private String companyName;
	private Integer projectId;
	private Integer cvId;
	private String ccType;

	private Integer isNoCv;
	

	public Integer getIsNoCv() {
		return isNoCv;
	}

	public void setIsNoCv(Integer isNoCv) {
		this.isNoCv = isNoCv;
	}

	public String getCcType() {
		return ccType;
	}

	public void setCcType(String ccType) {
		this.ccType = ccType;
	}

	public Integer getCvId() {
		return cvId;
	}

	public void setCvId(Integer cvId) {
		this.cvId = cvId;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public String getCvName() {
		return cvName;
	}

	public void setCvName(String cvName) {
		this.cvName = cvName;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.util.Date getCallDtBegin() {
		return this.callDtBegin;
	}
	
	public void setCallDtBegin(java.util.Date value) {
		this.callDtBegin = value;
	}	
	
	public java.util.Date getCallDtEnd() {
		return this.callDtEnd;
	}
	
	public void setCallDtEnd(java.util.Date value) {
		this.callDtEnd = value;
	}
	
	public java.lang.String getAccount() {
		return this.account;
	}
	
	public void setAccount(java.lang.String value) {
		this.account = value;
	}
	
	public java.lang.String getCaller() {
		return this.caller;
	}
	
	public void setCaller(java.lang.String value) {
		this.caller = value;
	}
	
	public java.lang.String getCallno() {
		return this.callno;
	}
	
	public void setCallno(java.lang.String value) {
		this.callno = value;
	}
	
	public Integer getCallStatus() {
		return this.callStatus;
	}
	
	public void setCallStatus(Integer value) {
		this.callStatus = value;
	}
	
	public Integer getCcResult() {
		return this.ccResult;
	}
	
	public void setCcResult(Integer value) {
		this.ccResult = value;
	}
	
	public java.lang.Integer getRefCvid() {
		return this.refCvid;
	}
	
	public void setRefCvid(java.lang.Integer value) {
		this.refCvid = value;
	}
	
	public java.lang.String getComment() {
		return this.comment;
	}
	
	public void setComment(java.lang.String value) {
		this.comment = value;
	}
	
	public java.lang.String getCreator() {
		return this.creator;
	}
	
	public void setCreator(java.lang.String value) {
		this.creator = value;
	}
	
	public java.util.Date getCreateDtBegin() {
		return this.createDtBegin;
	}
	
	public void setCreateDtBegin(java.util.Date value) {
		this.createDtBegin = value;
	}	
	
	public java.util.Date getCreateDtEnd() {
		return this.createDtEnd;
	}
	
	public void setCreateDtEnd(java.util.Date value) {
		this.createDtEnd = value;
	}
	
	public java.lang.String getModifier() {
		return this.modifier;
	}
	
	public void setModifier(java.lang.String value) {
		this.modifier = value;
	}
	
	public java.util.Date getModifiedDtBegin() {
		return this.modifiedDtBegin;
	}
	
	public void setModifiedDtBegin(java.util.Date value) {
		this.modifiedDtBegin = value;
	}	
	
	public java.util.Date getModifiedDtEnd() {
		return this.modifiedDtEnd;
	}
	
	public void setModifiedDtEnd(java.util.Date value) {
		this.modifiedDtEnd = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

